/** 
 * @author (Gruppe G) 
 * @version (04/18/2012)
 */

package ControlLayer;
import static org.junit.Assert.*;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;

public class DVDCtrTest
{
    /**
     * Testing the creation of a movie entry in the array.
     */
    @Test
    public void createDVD()
    {
        ControlLayer.DVDCtr dVDCtr1 = new ControlLayer.DVDCtr();
        dVDCtr1.createDVD("The King's Speech: Road to the Throne", "Tom Hooper", "2011");
    }
    
    /**
     * Testing the deletion of a movie entry in the array.
     */
    @Test
    public void deleteDVD()
    {
        ControlLayer.DVDCtr dVDCtr1 = new ControlLayer.DVDCtr();
        dVDCtr1.createDVD("The King's Speech: Road to the Throne", "Tom Hooper", "2011");
        dVDCtr1.deleteDVD("The King's Speech: Road to the Throne");
    }
    
    /**
     * Testing to find/get a movie entry in the array.
     */
    @Test
    public void findDVD()
    {
        ControlLayer.DVDCtr dVDCtr1 = new ControlLayer.DVDCtr();
        dVDCtr1.createDVD("The King's Speech: Road to the Throne", "Tom Hooper", "2011");
        dVDCtr1.findDVD("The King's Speech: Road to the Throne");
    }
}




